<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let sbo = Symbol()
        let sbo1 = Symbol('aaa')
        let sbo2 = Symbol('bbb')
        let sbo3 = Symbol('aaa')

        const obj1 = {
            name: 'zs',
            [sbo]() { },
            [sbo1]: () => { },
            [sbo2]: () => { }
        }

        console.log(obj1)
        console.log(typeof sbo) //symbol
        console.log(sbo3 == sbo1) // false
        /*
            NaN == NaN /false
            undefined === undefined /true
            '' === '' /true
            null === null /true
        */


    </script>
</body>

</html>